package com.ld.security.shop.blog.modules.cms.entity;

import com.ld.security.common.core.base.column.ListString;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.base.entity.SuperEntity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.core.entity.SqlUserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("cms_content")
@ApiModel("内容")
@Data
public class CmsContent  extends SuperEntity implements SqlUserEntity

 {

             @SqlKey(SqlCondition.like)
    @ApiModelProperty("封面")
    private String picture;


      
          
     
         @SqlKey
    @ApiModelProperty("点击量")
    private Integer clickTotal;

             @SqlKey(SqlCondition.like_many)
    @ApiModelProperty("标签")
    private ListString cmsTags;


         @SqlKey
    @ApiModelProperty("好评量")
    private Integer goodTotal;

     
             @SqlKey(SqlCondition.like)
    @ApiModelProperty("标题")
    private String label;


     
     
             @SqlKey(SqlCondition.eq)
    @ApiModelProperty("分类")
    private String cmsType;


     
             @SqlKey(SqlCondition.like)
    @ApiModelProperty("作者")
    private String authorId;


     
             @SqlKey(SqlCondition.eq)
    @ApiModelProperty("合集编号")
    private String collectId;


             @SqlKey(SqlCondition.like)
    @ApiModelProperty("内容")
    private String content;

     @SqlKey
     @ApiModelProperty("创建人")
     private String crtUser;



}
